#ifndef INFODOCKELEMENTSBUILDER_H
#define INFODOCKELEMENTSBUILDER_H

#include <QLayout>
#include <QVector>
#include <QSqlRecord>
#include <QLabel>

#include "db/qsqlrelationaltablemodelwithreconnection.h"
#include "./tagable/tagable.h"
#include "./builders/builder.h"
#include <QVBoxLayout>

class InfoDockElementsBuilder: public Builder
{
private:
    void _createLayoutFromRecord(QSqlRecord record, QVBoxLayout *box);

protected:
    virtual QVector<QLayout*> _prepareInfoLabel(QSqlRecord record);
public:
    virtual QLayout* build();
    virtual QLayout* build(void* data);
};

#endif // INFODOCKELEMENTSBUILDER_H
